package com.jiajia.study.chapter01.nio;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

/**
 * 客户端 V1
 * @author zjiajia
 * @date 2024/7/5 11:06
 */
public class TestClientV1 {
    public static void main(String[] args) throws IOException {
        SocketChannel socketChannel = SocketChannel.open();
        socketChannel.connect(new InetSocketAddress(8888));
        ByteBuffer byteBuffer = ByteBuffer.allocate(32);
        System.out.println("wait do something......");
    }
}
